#!/bin/bash

if sudo /home/pi/usb2wireless/u2w -ac -$1 -$2 -t $3 | grep -q "[ok]" ; then
	exit 0
else
	exit 1
fi
